package com.mew.lobby.provide;

import com.mew.common.rest.user.UserDetailedInfoResponseMessage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.*;

@Component
@FeignClient(value = "mew-kernel-user")
public interface UserFeignService {

    /**
     * 获取详细信息 通过uid
     */
    @PostMapping("/user/detailed_by_uid")
    @ResponseBody
    UserDetailedInfoResponseMessage getDetailedInfoByUid(@RequestParam("uid")long uid,@RequestParam("qid") long qid);

}
